package cn.xny.system.service.impl;

import cn.xny.basic.service.impl.BaseServiceImpl;
import cn.xny.system.domain.Dictionarytype;
import cn.xny.system.mapper.DictionarydetailMapper;
import cn.xny.system.mapper.DictionarytypeMapper;
import cn.xny.system.service.DictionarytypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
  public class DictionarytypeServiceImpl extends BaseServiceImpl<Dictionarytype> implements DictionarytypeService {


     @Autowired
  private DictionarydetailMapper dictionarydetailMapper;

  @Override
  public void del(Long id) {
    dictionarydetailMapper.delTypeid(id);
    super.del(id);

  }

  @Override
  public void patchDelete(List<Long> ids) {
    dictionarydetailMapper.patchDeleteTypeid(ids);
    super.patchDelete(ids);

  }
}
